const name = '飞龙在天'
const motto = '活到老,学到老'

function getTel() {
    return '135545846654'
}
function getHobby() {
    return [
        '抽烟', '喝酒', '烫头'
    ]
}
module.exports = {
    name,
    motto,
    getTel,
    getHobby
}

/* exports.name = name
exports.motto = motto
exports.getTel = getTel */

/* module.exports = {
    name,
    motto,
    getTel
} */
/* console.log(this);
console.log(exports);
console.log(module.exports);

console.log(this === exports && exports === module.exports); */

// module.exports = { c: 5}
// module.exports.c = 4
exports = { a: 1}
exports.b = 3

